package com.wuyb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wuyb.pojo.MeetingUser;
import com.wuyb.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wyb
 * @Date: 2024/01/01/15:28
 * @Description:
 */
@Component
public interface MeetingUserMapper extends BaseMapper<MeetingUser> {
    IPage<User> selectHadSignInList(Page<User> page, @Param("mid") String mid );

    IPage<MeetingUser> selectMeetingUsersList(Page<MeetingUser> page,@Param("mid") String mid );

    Integer delHistoryMeeting(@Param("mid") String mid,@Param("uid") Integer uid);
}
